package com.yanqu.road.entity.activity.ppl.shootlogic;

import java.math.BigDecimal;

/**
 * 泡泡龙屏幕坐标（直角坐标系）
 */
public class PplScreenPos {

    private BigDecimal screenX;
    private BigDecimal screenY;

    // 冗余一下原本坐标，避免转回去出现误差
    // 只有从球转过来的坐标才有这个值
    private int x;
    private int y;

    public PplScreenPos() {
    }

    public PplScreenPos(BigDecimal screenX, BigDecimal screenY) {
        this.screenX = screenX;
        this.screenY = screenY;
    }

    public BigDecimal getScreenX() {
        return screenX;
    }

    public void setScreenX(BigDecimal screenX) {
        this.screenX = screenX;
    }

    public BigDecimal getScreenY() {
        return screenY;
    }

    public void setScreenY(BigDecimal screenY) {
        this.screenY = screenY;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }
}
